<?php get_header(); ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">

<h2><?php the_title(); ?></h2>
<span class="submitted"><?php the_time('F jS, Y') ?> &#8212; <?php the_author() ?> <?php edit_post_link('Edit', ' | ', ''); ?></span>

<div class="content">
<?php the_content('Read the rest of this entry &raquo;'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>

<div class="meta">
Posted in <?php the_category(', ') ?>. <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?>
</div>

</div>
<?php endwhile; endif; ?>

<?php comments_template(); ?>

<div class="nextprev">
<div class="alignleft"><?php next_posts_link('&laquo; Older posts') ?> <?php previous_post_link('&laquo; %link') ?></div><br />
<div class="alignright"><?php previous_posts_link('Newer posts &raquo;') ?> <?php next_post_link('%link &raquo;') ?></div>
</div>

<?php get_footer(); ?>